package test.io;

import java.io.BufferedOutputStream;
import java.io.IOException;

public class BufferedOutputTest02 {
	public static void main(String[] args) {
		BufferedOutputStream bos = null;
		
		bos = new BufferedOutputStream(System.out,4);
		byte b[] = {65,66,67,68,69};
		
		try {
			
			bos.write(b);
			
			
		} catch (IOException ie) {
			System.out.println(ie.getMessage());
		} finally{
			/*
			try {
				if(bos != null){
					bos.close();
				}
			} catch (IOException ie) {
				System.out.println(ie.getMessage());
			}
			*/
		}
	}
}
